package o2o.dao.PO.game;

//分享红包信息
public class RedPacketRecord {

    private Long id;// ID
    private Long sceneId;           // 营销id
    private String fromUsername;    //发红包者账号
    private String toUsername;      //领红包者账号
    private String toUser;          //领红包者姓名
    private String toUserAvatar;    //领红包者姓名

    private Integer isAccept;       //是否领取红包 o未领取 1已领取
    private Integer isUsed;         //是否已使用 o未使用 1已使用

    private Integer selfUsed;       //发布者是否已使用  1已使用 0未使用
    private Integer selfUsedTime;   //发布者使用红包时间
    private Double cityAdminPrice;  // 代理金额
    private Double price;//红包金额
    private Double shopPrice;//红包金额
    private Double platformPrice;//红包金额
    private Double priceRang;//红包使用门槛（即大于多少时才可以使用，-1不限金额）

    private Double sharePrice;//分享红包者获取金额
    private Double sharePriceRang;//分享红包者使用红包门槛

    private Long pId;       //红包活动id


    private Integer bossType;       //活动主办方  1平台 2店铺
    private Integer packetType;     //红包类型  1分享红包 2领取红包

    private String shopUsername;    //主办方账号（店铺账号）
    private Long shopId;            //主办方Id（店铺Id）

    private Integer gameType;       //活动类型  1满减  2满赠  3首单减  4首单赠

    private Long startTime;         //活动开始时间
    private Long endTime;           //活动结束时间

    private Integer canEnjoyTimes;  //可参加次数（-1为无限次）

    private Integer totalCounts;    //红包总个数 （-1为无数个）


    private String name;//红包名称
    private String descs;//红包描述
    private String note;//红包备注

    private int delFlag;// 是否已删除(0未删除,1已删除)
    private String createUser;// 创建者
    private Long createTime;// 创建日期 141231212423423时间戳毫秒级标识
    private String updateUser;// 最后更新着


    private String extra1;//备用字段1
    private String extra2;//备用字段2
    private String extra3;//备用字段3

    public Double getCityAdminPrice() {
        return cityAdminPrice;
    }

    public RedPacketRecord setCityAdminPrice(Double cityAdminPrice) {
        this.cityAdminPrice = cityAdminPrice;
        return this;
    }

    public Long getSceneId() {
        return sceneId;
    }

    public RedPacketRecord setSceneId(Long sceneId) {
        this.sceneId = sceneId;
        return this;
    }

    public Long getId() {
        return id;
    }

    public RedPacketRecord setId(Long id) {
        this.id = id;
        return this;
    }

    public String getFromUsername() {
        return fromUsername;
    }

    public RedPacketRecord setFromUsername(String fromUsername) {
        this.fromUsername = fromUsername;
        return this;
    }

    public String getToUsername() {
        return toUsername;
    }

    public RedPacketRecord setToUsername(String toUsername) {
        this.toUsername = toUsername;
        return this;
    }

    public String getToUser() {
        return toUser;
    }

    public RedPacketRecord setToUser(String toUser) {
        this.toUser = toUser;
        return this;
    }

    public String getToUserAvatar() {
        return toUserAvatar;
    }

    public RedPacketRecord setToUserAvatar(String toUserAvatar) {
        this.toUserAvatar = toUserAvatar;
        return this;
    }

    public Integer getIsAccept() {
        return isAccept;
    }

    public RedPacketRecord setIsAccept(Integer isAccept) {
        this.isAccept = isAccept;
        return this;
    }

    public Integer getIsUsed() {
        return isUsed;
    }

    public RedPacketRecord setIsUsed(Integer isUsed) {
        this.isUsed = isUsed;
        return this;
    }

    public Integer getSelfUsed() {
        return selfUsed;
    }

    public RedPacketRecord setSelfUsed(Integer selfUsed) {
        this.selfUsed = selfUsed;
        return this;
    }

    public Integer getSelfUsedTime() {
        return selfUsedTime;
    }

    public RedPacketRecord setSelfUsedTime(Integer selfUsedTime) {
        this.selfUsedTime = selfUsedTime;
        return this;
    }

    public Double getPrice() {
        return price;
    }

    public RedPacketRecord setPrice(Double price) {
        this.price = price;
        return this;
    }

    public Double getShopPrice() {
        return shopPrice;
    }

    public RedPacketRecord setShopPrice(Double shopPrice) {
        this.shopPrice = shopPrice;
        return this;
    }

    public Double getPlatformPrice() {
        return platformPrice;
    }

    public RedPacketRecord setPlatformPrice(Double platformPrice) {
        this.platformPrice = platformPrice;
        return this;
    }

    public Double getPriceRang() {
        return priceRang;
    }

    public RedPacketRecord setPriceRang(Double priceRang) {
        this.priceRang = priceRang;
        return this;
    }

    public Double getSharePrice() {
        return sharePrice;
    }

    public RedPacketRecord setSharePrice(Double sharePrice) {
        this.sharePrice = sharePrice;
        return this;
    }

    public Double getSharePriceRang() {
        return sharePriceRang;
    }

    public RedPacketRecord setSharePriceRang(Double sharePriceRang) {
        this.sharePriceRang = sharePriceRang;
        return this;
    }

    public Long getpId() {
        return pId;
    }

    public RedPacketRecord setpId(Long pId) {
        this.pId = pId;
        return this;
    }

    public Integer getBossType() {
        return bossType;
    }

    public RedPacketRecord setBossType(Integer bossType) {
        this.bossType = bossType;
        return this;
    }

    public Integer getPacketType() {
        return packetType;
    }

    public RedPacketRecord setPacketType(Integer packetType) {
        this.packetType = packetType;
        return this;
    }

    public String getShopUsername() {
        return shopUsername;
    }

    public RedPacketRecord setShopUsername(String shopUsername) {
        this.shopUsername = shopUsername;
        return this;
    }

    public Long getShopId() {
        return shopId;
    }

    public RedPacketRecord setShopId(Long shopId) {
        this.shopId = shopId;
        return this;
    }

    public Integer getGameType() {
        return gameType;
    }

    public RedPacketRecord setGameType(Integer gameType) {
        this.gameType = gameType;
        return this;
    }

    public Long getStartTime() {
        return startTime;
    }

    public RedPacketRecord setStartTime(Long startTime) {
        this.startTime = startTime;
        return this;
    }

    public Long getEndTime() {
        return endTime;
    }

    public RedPacketRecord setEndTime(Long endTime) {
        this.endTime = endTime;
        return this;
    }

    public Integer getCanEnjoyTimes() {
        return canEnjoyTimes;
    }

    public RedPacketRecord setCanEnjoyTimes(Integer canEnjoyTimes) {
        this.canEnjoyTimes = canEnjoyTimes;
        return this;
    }

    public Integer getTotalCounts() {
        return totalCounts;
    }

    public RedPacketRecord setTotalCounts(Integer totalCounts) {
        this.totalCounts = totalCounts;
        return this;
    }

    public String getName() {
        return name;
    }

    public RedPacketRecord setName(String name) {
        this.name = name;
        return this;
    }

    public String getDescs() {
        return descs;
    }

    public RedPacketRecord setDescs(String descs) {
        this.descs = descs;
        return this;
    }

    public String getNote() {
        return note;
    }

    public RedPacketRecord setNote(String note) {
        this.note = note;
        return this;
    }

    public int getDelFlag() {
        return delFlag;
    }

    public RedPacketRecord setDelFlag(int delFlag) {
        this.delFlag = delFlag;
        return this;
    }

    public String getCreateUser() {
        return createUser;
    }

    public RedPacketRecord setCreateUser(String createUser) {
        this.createUser = createUser;
        return this;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public RedPacketRecord setCreateTime(Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public RedPacketRecord setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
        return this;
    }

    public String getExtra1() {
        return extra1;
    }

    public RedPacketRecord setExtra1(String extra1) {
        this.extra1 = extra1;
        return this;
    }

    public String getExtra2() {
        return extra2;
    }

    public RedPacketRecord setExtra2(String extra2) {
        this.extra2 = extra2;
        return this;
    }

    public String getExtra3() {
        return extra3;
    }

    public RedPacketRecord setExtra3(String extra3) {
        this.extra3 = extra3;
        return this;
    }
}
